﻿//
// *************************************************************************************
// WP-Framework
// 
// Developed by
// Lukas Kretschmar (lkretschmar.dev@bluewin.ch)
//
// Switzerland, Copyright (c) 2013 lkretschmar
// This content is released under the MIT License (http://opensource.org/licenses/MIT).
//     
// *************************************************************************************
//
//
			

using System.Reflection;
namespace KretschIT.WP_Fx.EasyMoq.Test.Helpers.Objects
{
    class SetterMockable : Mockable<ISetter>, ISetter
    {
        public int Value
        {
            set { this.Handler.Set(p => p.Value(), value); }
        }
    }

    static class SetterMockableExtensions
    {
        public static PropertyInfo Value(this ISetter source)
        {
            return typeof(ISetter).GetProperty("Value");
        }
    }
}
